<template>
  <div class="header">
    城市选择
    <router-link custom to="/" v-slot="{ navigate }">
      <s class="iconfont" @click="navigate">&#xe624;</s>
    </router-link>
  </div>
</template>

<script>
export default {
  name: 'Header',
  data() {
    return {}
  },
}
</script>

<style lang="scss" scoped>
.header {
  line-height: 0.86rem;
  height: 0.86rem;
  background: $bg;
  font-size: 0.32rem;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 99;
  s {
    position: absolute;
    left: 0.1rem;
    text-decoration: none;
  }
}
</style>
